Part Number Hot Search : 
1N4763A LMH0031 LT1302 0M0000 SDR4422W N120B HYS64 0M0000
Product Description
Full Text Search
 

To Download AN670 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  oscillator selection for st62 c. pilon, l. perier introduction the purpose of this note is to give indications on how to choose a resonator or a quartz crystal in order to achieve reliable oscillation with the st62 microcontroller. this document provides first the major resonator parameters useful for a design. it then proposes measurement methods to ensure a safe oscillation. 1 oscillation frequency the resonator can be modelised by a serial/parallel oscillator circuit as described in figure 1. the additional capacitances c ext are usually connected to the oscillator pins in order to define a stable oscillating frequency. the value of these capacitances is usually given by the manufacturer of the resonator. the oscillation frequency is the resonant frequency of the equivalent circuit given in figure 2. the resonator is inductive in the oscillation frequency range. figure 1. resonator model. figure 2. equivalent circuit. c 1 l r co c 1 l c ext r co AN670 / 02,94 application note
2 oscillation conditions the proposed method is based on the barkhausen criteria. this leads to a safe result providing that the oscillator fulfills these criteria. three points have to be analysed: oscillator start-up, frequency stability and the start-up time. 2.1 the barkhausen criteria: an oscillator can be modelized as defined figure 3. b is the resonator gain and g the amplifier/inverter gain. the value of bxg defines the oscillator behaviour: bxg >> 1: square waveform, start-up ok bxg > 1: waveform with harmonic distortion, start-up ok bxg = 1: sine waveform, start-up critical bxg < 1: no oscillation figure 3: oscillator model g b input output g: inverter/amplifier b: resonator c ircuit oscillator selection for st62 2/8
2.2 start-up the oscillator can start if the gain bxg is above 1. the amplifier gain must compensate for the resonator circuit attenuation and provide a sufficent gain margin (>3db). in addition, the resonator circuit b must introduce a 180 phase delay if the g amplifier is an inverter and no rotation if it is a non inverting amplifier. with classical circuits such as a pierce type oscillator (figure 4), the 180 phase rotation is due to capacitances (c out and c in ). figure 4. pierce type oscillator. figure 5. equivalent schematic at the resonant frequency vout vin cout cin cout cin + - - + lr co at the resonance frequency (serial mode), the circuit can be modelized as described in figure 5. the resonator voltage is balanced between the two capacitances. so the phase of the voltages v in and v out is delayed by 180. depending on the capacitance values, v in is either higher (c out >c in ), smaller (c out c in : v in > v out the loop gain is increased but there is a risk that the oscillation occurs at a harmonic of the resonator frequency. - c out < c in : v in < v out the output voltage is increased. the risk of oscillation at a harmonic of the resonator frequency is low. v in must be high enough to satisfy the condition bxg >1. oscillator selection for st62 3/8
2.3 measurement of the loop gain (open loop) the measurement is based on the schematic shown in figure 6. the method is the following: - open the loop as described in figure 6. - place an oscillator probe on points 1 and 2. note that the real c value for the calculation is c probe + c in . - inject a voltage s with a signal generator. this signal must be adjusted in frequency to maximize the voltage v 2 . - adjust s to a value small enough to avoid saturation of the amplifier (around 200mv on v 1 ). - calculate the ratio v 1t /v 2 . this value has to be between +3 and +10db (1.5 to 3). if the ratio is above +3db, the oscillator start is safe. if it is below, c in should be decreased. figure 6. gain loop measurement schematic. s oscin oscout v 1 v 2 cin cout c probe oscillator selection for st62 4/8
2.4 frequency stability the stability is first defined by the resonator characteristics. nevertheless, if the open loop gain exceeds +10db, the oscillation could occur on a harmonic of the resonator frequency. in such cases, the value of c in should be increased to reduce the loop gain or a filter rejecting this harmonic must be added. 2.5 start-up time the start-up time depends on the amplifier polarisation time and on the circuit transients. the polarisation of the amplifier can be accelerated by dividing the c in capacitance in two as described in figure 7. figure 7. amplifier polarisation acceleration cin 2 cin 2 vcc cout the start-up time is also longer when c in and c out are increased. as a result, for very low start-up time (i.e. low frequency quartz crystal), these capacitances values should be as small as possible. generally, the higher the crystal q factor and lower the crystal frequency, the longer the start-up time. oscillator selection for st62 5/8
3 conclusion this note describes a method to choose oscillator network capacitances adapted to standard resonators and quartz crystals (i.e. rs < 60ohms and gain > 500). since several network values can be chosen, the capacitances values should be minimized in order not to affect the resonance frequency and reduce the start-up time. appendix 1: test of a csa murata crystal resonator with an st6210 1. choice of the network capacitances resonator equivalent values: l = 385 h c 0 = 4.4 pf c 1 = 36.3 pf rs = 8.7 ohm q = 1134 the oscillation mode is the fundamental mode. the recommended load capacitances for 4mhz oscillation frequency are 2x30pf. the corresponding oscillation frequency as calculated from the formula given in appendix 2 is 4.03mhz. 2. pseudo closed loop measurement in the worst case (t ambiant max, v supply min) the gain v out /v in is 4.8. so the safety margin is +13.6db. 3. start-up time the start-up time is measured in closed loop. in the worst conditions (t ambiant max, v supply min), it is less than 1ms. 4. conclusion the selected ceramic resonator matches with the st6210 oscillator. oscillator selection for st62 6/8
appendix 2: calculation of the resonant frequency of ceramic resonator 1. equivalent circuit at the resonance frequency r co l c1 c2 c3 2. transformation for simple calculation rl co rl c 1 c2 c3 co ceq c' l where c ' = c o + ceq c o x ceq where ceq = c 1 + c 2 + c 3 c 2 x c 3 3. resonant frequency f = 1 2 p? lxc' 4. note when using a ceramic resonator, the oscillation frequency is usually between the parallel and the series resonances. so both c 1 and c o have ot be included in the calculation. the resonance frequency of a crystal resonator is very near to the serial frequency. so only co has to be used for the frequency calculation. oscillator selection for st62 7/8
notes: information furnished is believed to be accurate and reliable. however, sgs-thomson microelectronics assumes no responsability for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of sgs-thomson microelectronics. specifications mentioned in this publication are subject to change without notice. this publication supersedes and replaces all information previously supplied. sgs-thomson microelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of sgs-thomson microelectronics. ? 1994 sgs-thomson microelectronics - all rights reserved purchase of i 2 c components by sgs-thomson microelectronics, conveys a license under the philips i 2 c patent. rights to use these components in an i 2 c system, is granted provided that the system conforms to the i 2 c standard specifications as defined by philips. sgs-thomson microelectronics group of companies australia - brazil - france - germany - hong kong - italy - japan - korea - malaysia - malta - morocco the netherlands - singapore - spain - sweden - switzerland - taiwan - thailand - united kingdom - u.s.a. oscillator selection for st62 8/8


▲Up To Search▲   

 
Price & Availability of AN670

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X